import { FileTextOutlined, SettingFilled } from "@ant-design/icons";
import { Tabs } from "antd";
import { Children } from "react";
import ComponentProp from "./ComponentProp";

export default function RightPancel() {
  const tabsItems = [
    {
      key: "prop",
      label: <span>属性</span>,
      children: <ComponentProp />,
      icon: <FileTextOutlined />,
    },
    {
      key: "string",
      label: <span>页面设置</span>,
      children: <div>页面设置</div>,
      icon: <SettingFilled />,
    },
  ];
  return <Tabs defaultActiveKey="prop" items={tabsItems}></Tabs>;
}
